package com.block.datapush.service.apipush.utils;

import cn.hutool.core.util.StrUtil;

public class HongShengUtil {

    public static String getSex(Integer sex){
        if (StrUtil.equals(String.valueOf(sex), "1")){
            return "男";
        }
        return "女";
    }

    public static String getSourceInfo(String source){
        if (StrUtil.isEmpty(source) || source.endsWith("001")){
            return "无";
        }
        return "有";
    }

}
